package com.ccys.db.vo.doctor.consultStage;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.api.client.util.Lists;
import lombok.Data;

import java.util.List;

/**
 * @Author：XLY
 * @Date：2024/2/24 0024
 */
@Data
public class GetIndoSPMedicationVo {


    @JsonProperty("_source")
    private IndoSPMedicationVo source;

    @Data
    public static class IndoSPMedicationVo{


        private String id;  //": 709646,

        @JsonProperty("product_name")
        private String productName;  //": "ABIXA 10 MG TABLET (Setiap tablet mengandung Memantine Hydrochloride 10 mg)",

        @JsonProperty("ingredient_only")
        private String ingredientOnly;  //": " (Setiap tablet mengandung Memantine Hydrochloride 10 mg)",

        @JsonProperty("name_only")
        private String nameOnly;  //": "ABIXA 10 MG TABLET"

        @JsonIgnore
        private List<CompositionVo> compositionList ;
    }

    @Data
    public static class CompositionVo{
        private String composition;
    }
}
